From: John Crispin Date: Tue, 19 Aug 2008 17:25:32 +0000 (+0000) Subject: fixes ntpclient, whoich quit if -s and -l were not handed over as parameters X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=85999378db50d6c959fe9549aaf1a82834859466;p=openwrt%2Fsvn-archive%2Fpackages.git fixes ntpclient, whoich quit if -s and -l were not handed over as parameters SVN-Revision: 12339 --- diff --git a/net/ntpclient/files/ntpclient.hotplug b/net/ntpclient/files/ntpclient.hotplug index 87f0c0c0e..634529cae 100644 --- a/net/ntpclient/files/ntpclient.hotplug +++ b/net/ntpclient/files/ntpclient.hotplug @@ -29,7 +29,7 @@ start_ntpclient() { config_foreach check_server ntpserver [ -z "$SERVER" ] && exit 0 logger starting ntpclient - $NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -D -p $PORT -h $SERVER 2> /dev/null + $NTPC ${COUNT:+-c $COUNT} ${INTERVAL:+-i $INTERVAL} -s -l -D -p $PORT -h $SERVER 2> /dev/null } stop_ntpclient() {